BCM270X_DT: Set spidev spi-max-frequency to 125MHz
authorPhil Elwell <phil@raspberrypi.org>
Wed, 16 Aug 2017 15:52:50 +0000 (16:52 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:08:25 +0000 (01:08 +0000)
commit071bba328d62a0df87d0b4d94797681c3850ac9a
treeed4a418d4dd8822daa8c0adde2a6a52f05014f40
parent820ab4a852d14339236e4265d20d4207bed43772
BCM270X_DT: Set spidev spi-max-frequency to 125MHz

The BCM2835 SPI controllers have a maximum bus clock of half the system
clock speed, so with the 250MHz system clock found on Raspberry Pis
you get a theoretical maximum bus speed of 125MHz. Note that this
speed is unlikely to be reliable, and the maximum usable bus spee will
depend on both the attached device and the wiring.

See: https://github.com/raspberrypi/linux/issues/2165
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
13 files changed:
arch/arm/boot/dts/bcm2708-rpi-0-w.dts
arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
arch/arm/boot/dts/bcm2708-rpi-b.dts
arch/arm/boot/dts/bcm2708-rpi-cm.dts
arch/arm/boot/dts/bcm2709-rpi-2-b.dts
arch/arm/boot/dts/bcm2710-rpi-3-b.dts
arch/arm/boot/dts/bcm2710-rpi-cm3.dts
arch/arm/boot/dts/overlays/spi1-1cs-overlay.dts
arch/arm/boot/dts/overlays/spi1-2cs-overlay.dts
arch/arm/boot/dts/overlays/spi1-3cs-overlay.dts
arch/arm/boot/dts/overlays/spi2-1cs-overlay.dts
arch/arm/boot/dts/overlays/spi2-2cs-overlay.dts
arch/arm/boot/dts/overlays/spi2-3cs-overlay.dts